<?php
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );

class pqcesViewpqces extends JView
{
	function display($tpl = null)
	{
		JToolBarHelper::title(   JText::_( 'PHP QuickCalendar E' ), 'generic.png' );
		JToolBarHelper::addNew('addEvent',JText::_('COM_PQCE_ADDEVENT'));
		JToolBarHelper::custom( 'showCategory', 'default.png', 'default.png', JText::_('COM_PQCE_EDITCATS'), false, false );
		JToolBarHelper::deleteList('','remFact',JText::_('COM_PQCE_DEL'));
		JToolBarHelper::preferences( 'com_pqce','450','350',JText::_('COM_PQCE_OPTS') );
		$model = $this->getModel('pqces');
		$aconte=& $model->getData();
		$this->assignRef('aconte',$aconte);
                $state =& $this->get( 'state' );
		$lists['order_Dir'] = $state->get( 'filter_order_Dir' );
                $lists['order']     = $state->get( 'filter_order' );
                $this->assignRef( 'lists', $lists );
		parent::display($tpl);
	}
}
